﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WinFormsApp3
{
    //时间格式不正确错误
    internal class TimeFormatErrorException:Exception
    {
        public TimeFormatErrorException(string message) : base(message) { }
    }
    //时间输入错误
    internal class TimeInputErrorException : Exception
    {
        public TimeInputErrorException(string message) : base(message) { }
    }
    //删除的闹钟不存在错误
    internal class TimeNotExisttErrorException : Exception
    {
        public TimeNotExisttErrorException(string message) : base(message) { }
    }
    //闹钟没有开启错误
    internal class TimeNotOpenErrorException : Exception
    {
        public TimeNotOpenErrorException(string message) : base(message) { }
    }
    //增加重复时间错误
    internal class TimeRepeatnErrorException : Exception
    {
        public TimeRepeatnErrorException(string message) : base(message) { }
    }
}
